import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'

//1 element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

//2 axios
//3 vue-router
import router from './router'

//4 pinia
//创建一个pinia（根存储）
import { createPinia } from 'pinia'
const pinia = createPinia()

const app = createApp(App)
//将其传递给应用程序
app.use(ElementPlus).use(router).use(createPinia())
app.mount('#app')

